plurality of sensors coupled to a series of switching devices

ABSTRACT

A plurality of sensors are coupled to switching devices arranged in a series of switching devices. Each switching device has an upstream port and a downstream port. The series of switching devices is formed by coupling the downstream port of each switching device, except a last switching device in the series of switching devices, to the upstream port of a next switching device in the series of switching devices.

BACKGROUND

A data center may be defined as a location that houses computer andother electronic equipment in a high density configuration. Typically,much of the equipment is deployed in equipment racks. Densities of 128discrete server computers per rack are achievable with currenttechnology, and it is expected that densities will continue to increase.The servers in a rack can use considerable amounts of electricity, andaccordingly, dissipate significant amounts of heat. A typical rack ofservers may use 10 kW, and a large data center may have 1000 racks ofservers.

To remove the heat generated in a large data center, the data centerwill be configured with many computer room air conditioning (CRAC)units, which operate to deliver cool air to the data center to keepservers and other devices from overheating. The energy consumed by theCRAC units comprises a significant share of the total energy consumed bythe data center.

BRIEF DESCRIPTION OF THE DRAWINGS

The Figures depict embodiments, implementations, and configurations ofthe invention, and not the invention itself.

FIG. 1 is a perspective view of a portion of a data center in whichembodiments of the present invention have been deployed.

FIG. 2 shows a block diagram of a portion of the data center shown inFIG. 1, in accordance with an embodiment of the present invention.

FIG. 3 is a block diagram of a base station, in accordance with anembodiment of the present invention.

FIG. 4 shows a switching device, in accordance with an embodiment of thepresent invention.

FIG. 5 shows another switching device in accordance with an embodimentof the present invention.

FIG. 6 is a block diagram showing data flow in the data center shown inFIG. 1, in accordance with embodiments of the present invention.

FIG. 7 shows a flowchart that describes a process that a base stationuses to discover switching devices and plug-in assemblies, in accordancewith embodiments of the present invention.

FIGS. 8A and 8B are flowcharts showing two different methods for a stepshown in the flowchart of FIG. 7, in accordance with embodiments of thepresent invention.

FIG. 9 shows another embodiment of the present invention in which twoseries of switching devices are deployed.

DETAILED DESCRIPTION

In the foregoing description, numerous details are set forth to providean understanding of the present invention. However, it will beunderstood by those skilled in the art that the present invention may bepracticed without these details. While the invention has been disclosedwith respect to a limited number of embodiments, those skilled in theart will appreciate numerous modifications and variations therefrom. Itis intended that the appended claims cover such modifications andvariations as fall within the true spirit and scope of the invention.

Embodiments of the present invention relate to sensors coupled to aseries of switching devices, and discovering the series of switchingdevices. Before considering the present invention in detail, firstconsider the environment in which embodiments of the present inventionwill be deployed.

Dynamic Smart Cooling (DSC) is a term used by Hewlett-Packard Company toidentify a group of technologies that help customers accurately measurethe effectiveness of data center cooling, and reduce costs associatedwith data center cooling. Consider a large data center having hundredsof racks, with each rack having more than 100 servers. Such a datacenter will have many computer room air conditioning (CRAC) units, witheach CRAC unit having an effect on the temperature proximate to eachserver.

When such a data center is configured to use DSC, several temperaturesensors are positioned on each rack, and readings from all sensors aretransmitted to a data center environment controller (DCEC). The DCECincludes a commissioning module. By incrementally increasing anddecreasing the cooling output of each CRAC unit, and measuring theresult at each temperature sensor, the commissioning module is able tocreate a profile that represents the effect of each CRAC unit at eachsensor. With this information, the DCEC is able to control the CRACunits to ensure that all servers receive sufficient cooling, whileminimizing wasteful overcooling in other areas of the data center.

In a typical prior art deployment, a base station is coupled to eachrack. The base station is a device having a microcontroller, anelectrically erasable programmable read-only memory (EEPROM) for storingprogram instructions and data, RAM, an Ethernet interface, and a 1-Wirenetwork interface. The Ethernet controller of each base station iscoupled to the DCEC using Ethernet coupling devices known in the art,such as switches and routers.

1-Wire is a registered trademark of Maxim Integrated Products, Inc., and1-Wire devices communicate over a bus that comprises a single wire thatcarries data between all devices on the bus. Typically, a ground wire isalso coupled to each device. In one configuration, the single wire isalso used to power 1-Wire devices, with the devices storing charge in acapacitor when the single wire is high, and using the charge stored inthe capacitor to power the device with the single wire is low. Inanother configuration, one or more additional power lines are providedto 1-Wire devices.

The 1-Wire interface of each base station is coupled to one or more plugin assemblies (PIAs). In one configuration, a PIA is a strip that ismounted vertically along the length of an air-intake side of the eachrack, which is typically the front of the rack. Optionally, a second PIAis mounted along the back of the rack to measure the temperature of airleaving the rack. Each PIA has a series of 1-Wire temperature sensorspositioned along the length of the PIA. Each PIA also includes a 1-Wiredevice that provides access to PIA configuration data stored in anEEPROM.

In the DSC configuration described above, the base stations multicast IDpackets to a first UDP port monitored by the DCEC. When the packets havebeen received and processed by the DCEC, the DCEC responds bybroadcasting acknowledgement packets to the base stations using a secondUDP port. Once the base stations have received the acknowledgementpackets, the base stations begin sending temperature data bybroadcasting packets using the first UDP port.

Using this process, the DCEC is able to discover each rack in the datacenter. However, associating each rack with a physical location in thedata center tends to be a manual process that requires a data centertechnician to associate a unique identifier sent by each base stationwith a physical location.

FIG. 1 is a perspective view of a portion of a data center 10 in whichembodiments of the present invention have been deployed. Data center 10includes a row of racks 12, a DCEC 14, and CRAC units 16 and 18.

Each rack has two PIAs, with one PIA attached to the front of the rackand measuring the temperature of air entering the rack, and a second PIAattached to the back of the rack measuring the temperature of airleaving the rack. For example, rack 20 includes PIA 22 positioned alongthe front of rack 20, and rack 24 includes PIA 26 (shown in phantom)positioned along the back of rack 24.

Each PIA includes five 1-Wire temperature sensors, such as temperaturesensor 28 of PIA 22. Of course, those skilled in the art will recognizethat additional or fewer sensors may be provided on each PIA. Also,those skilled in the art will recognize that at PIA may include othertypes of sensors, such as humidity and pressure sensors. Furthermore, aPIA may have a different configuration and function. For example, a PIAmay be configured to sense whether a rack door is open or closed, ormeasure the rotational speed of a fan.

Each PIA also includes a 1-Wire device that can access configurationinformation stored in an EEPROM, such as device 30 of PIA 22. As usedherein, the term PIA can refer to any sensor assembly that includesmemory that characterizes the assembly, and the sensors deployed in theassembly.

As discussed above, previous DSC configurations deployed one basestation per rack. In accordance with an embodiment of the inventionshown in FIG. 1, a single base station is provided for a series ofracks, and each rack is provided with a switching device. Accordingly,in FIG. 1, base station 32 is coupled to DCEC 14, and a series ofswitching devices. Switching device 34 of rack 20 is the first switchingdevice of the series, and is coupled to base station 32. In turn,switching device 34 is also coupled to switching device 36, switchingdevice 36 is coupled to switching device 38, switching device 38 iscoupled to switching device 40, switching device 40 is coupled toswitching device 42, and switching device 42 is coupled to switchingdevice 44, which is the last switch in the series. Collectively, basestation 32, switching devices 34, 36, 38, 40, 42, and 44, and the PIAs,such as PIA 22 and PIA 26, form a sensor network for row of racks 12.

The embodiment of the present invention shown in FIG. 1 provides severaladvantages over previous DSC configurations that deploy one base stationper rack. First, there are significant cost savings. As will bediscussed in greater detail below, a switching device in accordance withembodiments of the present invention is a much simpler device than abase station. It is anticipated that the cost of a switching device willbe approximately $8, while the cost of a base station is approximately$80. Consider a data center having 1000 racks arranged in 100 rows often racks per row. The cost of deploying a base station at each rackwould be $80,000. Using an embodiment of the present invention, a basestation would be deployed for each of the 100 rows, and a switchingdevice would be deployed for each rack. Therefore, the cost ofdeployment would be $16,000, thereby saving $64,000. Furthermore,additional savings are realized in the reduction of Ethernet cabling andswitches.

Another advantage is that the switching devices are relatively simpledevices that will typically not require firmware updates. In contrast,base stations may require firmware updates to implement improveddiscovery and reporting algorithms. Embodiments of the present inventionsignificantly reduce the number of devices that may need to be updated.

Finally, embodiments of the present invention significantly reduce theeffort required by a data center technician when associating PIAs withphysical rack location. In the previous DSC configuration discussedabove, a technician had to associate each rack with a physical location.By using embodiments of the present invention, the technician need onlyassociate the first rack in a row with a physical location, and thephysical location of the reminder of the racks can be inferred fromorder of the switching devices in the series, as will be discussed ingreater detail below. In the data center discussed above, 1000 racks arearranged in 100 rows of ten racks per row. Accordingly, the effortrequired to associate each rack with a physical location is reduced by afactor of ten.

FIG. 2 shows a block diagram of a portion of data center 10 of FIG. 1.DCEC 14 includes a bus 46. Although bus 46 is shown as a single bus forsimplicity, those skilled in the art will recognize that a plurality ofconnected buses will typically be used.

Coupled to bus 46 are one or more CPUs 48, main memory 50, persistentstorage 52, network interface 54, and other I/O 56. CPUs 48 processprogram instructions, and main memory 50 stores program instructions anddata. Persistent storage 52 represents various forms of persistentstorage known in the art, such as hard disk drives, EEPROMs, opticaldrives, and the like.

Network interface 54 is coupled to switch 58, which in turn is coupledto CRAC units 16 and 18, and base station 32. Note that the networkinterface shown connecting CRAC units 16 and 18 is merelyrepresentative. In other embodiments, a different connection technologycan be used, such as the Modbus serial communications protocol, whichcan be implements over an RS-485 communication channel.

Other I/O 56 represents other types of I/O, and is coupled to keyboardand mouse 60, display 62, and USB, Firewire, and Bluetooth ports 64. TheI/O devices shown in blocks 56 and 64 are merely representative, andthose skilled in the art will recognize that DCEC 14 may have additionalclasses of I/O devices.

In the discussion of the previous DSC configuration discussed above, abase station has an Ethernet port coupled to the DCEC, and two 1-Wireports, with each 1-Wire coupled to a PIA. A customer can redeploy such abase station for use with an embodiment of the present invention byupdating the firmware of the base station. In the embodiment shown inFIG. 1, only one 1-Wire port is used to connect to the first switchingdevice in the series of switching devices. In another embodiment of thepresent invention, the PIAs of the first rack in the row of racks arecoupled to the base station, and the remainder of the racks in the roware coupled to switching devices. Accordingly, a base station used inthis embodiment has three 1-Wire ports, as shown in FIG. 3. Note that1-Wire devices can be added to a 1-Wire bus by simply joining 1-Wire busconductors, so 1-Wire ports can also be provided by a simple external“Y” connector.

FIG. 3 is a block diagram of base station 66, in accordance with anembodiment of the present invention. Base station 66 includesmicrocontroller 68, flash EEPROM 70, RAM 72, RJ45 Ethernet port 74, I²Cto 1-Wire bridge 76, keyed RJ45 1-Wire A port 78, keyed RJ45 1-Wire Bport 80, and keyed RJ45 1-Wire C port 82.

Microcontroller 68 is an integrated controller having a memory port 84,an I²C port 86, and an Ethernet port 88. A suitable microcontroller isthe NS9360 ARMS processor available from Digi International. Memory port84 is coupled to flash EEPROM 70, which stores base station firmware andpersistent data. Memory port 84 is also coupled to RAM 72, which is usedby base station 66 to store program instructions and data whileoperating. Ethernet port 88 is coupled to RJ45 Ethernet port 74, and isused to couple base station 66 to the DCEC.

I²C port 86 is coupled to I²C to 1-Wire bridge 76. A suitable bridge isthe DS2482-100 I²C to 1-Wire bridge available from Maxim IntegratedProducts, Inc. Bridge 76 converts the I²C signals from microcontroller68 to 1-Wire signals, which in turn are coupled to keyed RJ45 1-Wire Aport 78, keyed RJ45 1-Wire B port 80, and keyed RJ45 1-Wire C port 82.As discussed above, 1-Wire devices may be powered by the 1-Wire databus, or separate power signals may be provided. In the embodimentsdisclosed herein, +3.3V and +5V supply lines are provided to 1-Wiredevices. Accordingly, +3.3V and +5V supply lines are coupled to ports78, 80, and 82 in FIG. 3. For simplicity, the supply lines will not beshown in the remained of the Figures. Also, note that ports 78, 80, and82 use a keyed RJ45 port. Using keyed ports and connectors preventsconnectors carrying 1-Wire signals from being inserted into Ethernetports, and vice versa.

FIG. 4 shows a switching device 90, in accordance with an embodiment ofthe present invention. Switching device 90 includes 1-Wire I/O device 92(such as the DS2413 dual-channel programmable I/O 1-Wire chip availablefrom Maxim Integrated Products, Inc.), single pole double throw (SPDT)switch 94, keyed RJ45 1-Wire upstream port 96, keyed RJ45 1-Wiredownstream port 98, keyed RJ45 1-Wire PIA port A 100, and keyed RJ451-Wire PIA port B 102.

Upstream port 96 is coupled to a switching device that is upstream inthe series of switching devices, or a base station if switching device90 is the first switch in the series. The 1-Wire bus from upstream port96 is provided to 1-Wire I/O device 92 and SPDT switch 94. 1-Wire I/Odevice 92 includes PIO output signal 104, which is used to control SPDTswitch 94. Switch 94 may be implemented as an electro-mechanical relay,or a transistor-based switch. Under control of device 92, which acts asa switch controller, switch 94 is operable to couple the 1-Wire bus fromport 96 to either keyed RJ45 1-Wire downstream port 98, or keyed RJ451-Wire PIA port A 100 and keyed RJ45 1-Wire PIA port B 102.

FIG. 5 shows another switching device in accordance with embodiments ofthe present invention that provides additional functionality compared toswitching device 90 of FIG. 4. Switching device 106 of FIG. 5 includes1-Wire I/O device 108 (such as the DS28E04-100 dual-channel programmableI/O chip having a 4096-bit 1-Wire EEPROM available from Maxim IntegratedProducts, Inc.), single pole single throw (SPST) switches 110 and 112,keyed RJ45 1-Wire upstream port 114, keyed RJ45 1-Wire downstream port116, keyed RJ45 1-Wire PIA port A 118, keyed RJ45 1-Wire PIA port B 120,and 1-Wire humidity sensor 122.

Upstream port 114 is coupled to a switching device that is upstream inthe series of network ports, or a base station if switching device 106is the first switch in the series. The 1-Wire bus is provided fromupstream port 114 to 1-Wire I/O device 108, SPST switches 110 and 112,and 1-Wire humidity sensor 122. 1-Wire I/O device 108 includes PIO Aoutput signal 126, which is used to control SPST switch 112, PIO Boutput signal 128, which is used to control SPST switch 110. Switches110 and 112 may be implemented as electro-mechanical relays, or atransistor-based switches. Under control of device 108, which acts as aswitch controller, switch 110 is operable to selectively connect ordisconnect the 1-Wire bus from upstream port 114 to downstream port 116.Under control of device 108, which acts as a switch controller, switch112 is operable to selectively connect or disconnect the 1-Wire bus fromupstream port 114 to keyed RJ45 1-Wire PIA port A 118 and keyed RJ451-Wire PIA port B 120

Compared to switching device 90 of FIG. 4, switching device 106 providesadditional flexibility. As with switch 90, switching devices andassociated PIAs can be discovered in sequence by sequentially couplingthe PIAs of each rack to the base station, while excluding the PIAs ofother racks. However, after discovery, a series of switching devices 108can be configured to couple simultaneously all PIAs of all racks to the1-Wire bus. In contrast, switch 90 can only couple the PIAs from onerack to the base station at any given point in time.

Switching device 106 includes an integrated 1-Wire humidity sensor 122,such as the DS1923 temperature/humidity sensor available from MaximIntegrated Products, Inc. While it is not essential to measure humidityin as many locations as temperature, it is still an importantenvironment parameter. In general, humidity should be sufficiently highto minimize electrostatic discharge, while being sufficiently low toprevent condensation and corrosion. EEPROM 124 of device 108 storesconfiguration information associated with 1-Wire humidity sensor 122,along with other information characterizing the switching device, suchas model number and serial number. Note that other type of sensors maybe integrated into the switch device, such as a pressure sensor or asmoke sensor.

FIG. 6 is a block diagram showing data flow in data center 10 of FIG. 1.In FIG. 6, the PIAs, such as PIA 22 and 26, are coupled to correspondingswitching devices 34, 36, 42, and 44 of the series of switching devices.Switching device 34 is the first switching device in the series, and iscoupled to base station 32. In turn, base station 32 is coupled to DCEC14.

FIG. 6 illustrates software modules hosted by DCEC 14. Accordingly, userinterface 130 is coupled to an operator console, which includes mouseand keyboard 60 and display 62 shown in FIG. 2. Listener thread 132communicates with base station 32 and receives switching device and PIAsequence and configuration data, along with environment measurements,such as temperature and humidity readings, from base station 32.

Commissioning module 138 communicates with control engine 136 to makeincremental increases and decreases to each CRAC unit, such as CRACunits 16 and 18, to record the corresponding changes measured at eachsensor of the PIAs, and records the measurements in historical datastore 134. Commission module 138 then forms profiles that characterizethe effect of each CRAC unit at each sensor. In turn, control engine 136uses the profiles to control the output of each CRAC unit to ensure thateach rack receives sufficient cooling, while minimizing overcoolingother areas of data center 10.

Note that some customers may not deploy the commissioning module. Themeasurements collected have significant value even if the measurementsare not used to control the CRAC units. For example, the measurementscan be used to trigger alarms or identify data center locations that mayhave cooling duct obstructions. Commissioning module 138 is shown merelyto indicate a potential use for the data collected.

Table 1 below shows an example of data stored in the EEPROM of a PIA,such as EEPROM 30 of PIA 22 shown in FIG. 1. In switching device 106shown in FIG. 5, a similar table is stored in EEPROM 124 of 1-Wire I/Odevice 108, and includes information that characterizes 1-Wire humiditysensor 122.

TABLE 1 Length Field Name Contents Comments (Bytes) Table_Version Theversion of this table Allow different table formats to 1 (possiblevalues 00-FF) be supported at later time. PIA_PartNum PIA manufacturerpart number This serves as a PIA family 16 code, and implies thefunction performed by the PIA. Part number may also imply PIAinstallation location. For example, a particular part number mayrepresent a PIA adapted to be mounted on the front of the rack, whileanother part number may represent a PIA adapted to be mounted on theback of the rack. PIA_Serial PIA serial number 16 PIA_HWRev PIA hardwarerevision 1 PIA_Addr 1-Wire 64-bit address Unique PIA identifier on the1- 8 (PK) of the EEPROM resides Wire bus - This is the primary on thisPIA key for a PIA's instance in the database. PIA_ParmLen Length inbytes of the A value of 0 in length indicates 1 following PIA-specificempty parameter list. parameter list PIA_Parms PIA specific parameterOptional parameters that N list further characterize the PIA.SensorCount Total number of sensor This is followed by a list of 64- 1devices on this PIA bit PIA sensor addresses. Sensor1_Addr 64-bit deviceaddress of Devices in physical order on 8 1^(st) sensor device the PIA.This is the first sensor on the PIA Sensor2_Addr . . . Devices inphysical order on 8 the PIA. This is the second sensor on the PIASensorN_Addr . . . Devices in physical order on 8 the PIA. This is thelast sensor on the PIA Checksum Table checksum. Used by base station toverify 1 accurate reading of table.

FIG. 7 is a flowchart 140 that describes the process that a base stationuses to discover switching devices and PIAs, in accordance with anembodiment of the present invention. Before discussing FIG. 7, firstconsider the 1-Wire bus protocol.

A 1-Wire bus comprises a single master device, and one or more slavedevices. I²C to 1-Wire bridge 76 of base station 66 shown in FIG. 3 is a1-Wire master, and all other 1-Wire devices associated with theswitching devices and PIAs are 1-Wire slaves. 1-Wire devices use twosets of commands. The first set of commands are referred to as ROMfunction commands, and are used for device identification and selection.The second set of commands are referred to as memory function commands,and signal 1-Wire devices to perform functions specific to the device. AROM function command must be completed by the master to prepare a slavedevice to receive and execute a memory function command.

The 1-Wire protocol defines a search ROM sequence that identifies theROM IDs of all 1-Wire slave devices. A ROM ID is a unique 64-bit numberthat contains a family code, serialization field, and a cyclicredundancy check (CRC). Once all slave devices have been identified,individual slave devices can be addressed using match ROM commandsfollowed by memory function commands. Furthermore, the 1-Wire protocoldefines a skip ROM command, which causes all slave devices to execute asubsequent memory function command. The skip ROM command can be used to“broadcast” a memory function command to multiple slave devices. Whilethis simple description of the 1-Wire protocol is sufficient tofacilitate an understanding of embodiments for the present invention,additional details of the 1-Wire protocol are available from MaximIntegrated Products, Inc.

Returning to flow chart 140 of FIG. 7, the process of discoveringswitching devices begins at start block 142. Control passes block 144,and the base station signals all switching devices to disconnect the1-Wire bus from the downstream port.

FIGS. 8A and 8B show two different methods for block 144 to signal allswitching devices to disconnect the 1-Wire bus from the downstream port.In FIG. 8A, control passes from block 142 to block 145, and at block 145the base station initiates a ROM search sequence to discover allswitching devices currently connected to the 1-Wire bus. Control thenpasses to block 147.

At block 147, the base station issues a ROM skip command followed by amemory function command signaling all switching devices to connect the1-Wire bus from the upstream port to the downstream port. In switchingdevice 90 of FIG. 4, device 92 signals SPDT switch 94 to couple upstreamport 96 to downstream port 98. Similarly, in switching device 106 ofFIG. 5, device 108 signals SPST switch 110 to coupled upstream port 114to downstream port 116. Control then passes to block 149.

Block 149 initiates a ROM search sequence to discover all switchingdevices currently connected to the 1-Wire bus, and control passes todecision block 151. Decision block 151 tests whether the ROM searchsequence performed at block 149 revealed an undiscovered switchingdevice. If it did, the YES branch is taken back to block 147, and blocks147, 149, and 151 are repeated until no additional switching devices arediscovered, and then the NO branch is taken to block 153.

At block 153, the base station issues a ROM skip command followed by amemory function command signaling the switching devices to disconnectthe 1-Wire bus from the downstream port. Control then passes to decisionblock 146 of FIG. 7.

FIG. 8B shows a different method for implementing the functionrepresented by block 144 in FIG. 7. Control passes from start block 142to block 155, which sets a variable I equal to one. Control then passesto block 157.

At block 157, the base station issues a ROM skip command followed by amemory function command signaling all switching devices to connect the1-Wire bus from the upstream port to the downstream port. Control thenpasses to block 159, which increments the variable I by one, and thencontrol passes to decision block 161.

Decision block 161 tests whether I is equal to a maximum number ofswitching devices present in a series. If the answer is no, the NObranch is taken, and blocks 157, 159, and 161 are repeated until I isequal to the maximum number of switching devices present in a series. Atthis point, the YES branch is taken to block 163.

At block 163, the base station issues a ROM skip command followed by amemory function command signaling the switching devices to disconnectthe 1-Wire bus from the downstream port. Control then passes to decisionblock 146 of FIG. 7.

Returning to FIG. 7, at this point, only the first switching device inthe series of switching devices is connected to the 1-Wire bus. Controlthen passes to decision block 146.

Decision block 146 tests whether an undiscovered switching device ispresent. As switching devices are discovered, the base station stores alist of switching devices along with the order in which switchingdevices are discovered. Decision block 146 executes a ROM searchsequence to search for ROM IDs, and compares discovered ROM IDs againstthe list of switching devices. At this point, no switching devices haveyet been discovered, and the first switching device in the series is theonly switch connected to the base station. Accordingly, the YES branchis taken to block 148.

Block 148 records the undiscovered block in the list of switchingdevices as the next switching device in the series of switching devices.In this case, the next switching device is also the first switchingdevice in the series. Control then passes to block 150.

At block 150, the base station has the ROM ID of the next switchingdevice, and issues a match ROM command followed by a memory functioncommand to cause the next switching device to couple the 1-Wire bus tothe PIAs. For switching device 90 of FIG. 4, the PIAs will already beconnected to the 1-wire bus since all switching devices were signaled todisconnect the 1-Wire bus from the downstream port, which also connectsthe 1-Wire bus to the PIAs in switch 90. For switching device 106 ofFIG. 5, 1-Wire I/O device 108 signals SPST switch 112 to couple the1-Wire bus from upstream port 114 to keyed RF45 1-Wire PIA A port 118and keyed 1-Wire PIA B port 120. Next, control passes to block 152.

At block 152, the only PIAs attached to the 1-Wire bus are the PIAscoupled to the next switching device. Accordingly, the base stationinitiates a ROM search sequence to discover the PIAs, and reads andrecords the EEPROM data associated with each PIA. Control then passes toblock 154.

At block 154, the base station issues a match ROM command followed by amemory function command to cause the next switching device to disconnectthe 1-Wire bus from the PIAs. Accordingly, in switching device 90 ofFIG. 4, 1-Wire I/O device 92 signals SPDT switch 94 to disconnect the1-Wire bus from keyed RF45 1-Wire PIA A port 100 and keyed 1-Wire PIA Bport 102. In switching device 106 of FIG. 5, 1-wire I/O device 108signals SPST switch 112 to disconnect the 1-Wire bus from keyed RJ451-Wire PIA A port 118 and keyed 1-Wire PIA B port 120. Next, controlpasses to block 156.

At block 156, the base station issues a match ROM command followed by amemory function command to cause the next switching device in the seriesto connect the 1-Wire bus to the downstream port of the next switchingdevice. For switch 90 of FIG. 4, this action was actually performed atblock 154, since a single SPDT switch 94 is used to couple the 1-Wirebus to either the PIAs or the downstream port. For switch 106 of FIG. 2,1-Wire device 108 signals SPST switch 110 to couple keyed RJ45 1-Wireupstream port 114 to keyed RF45 1-Wire downstream port 116.

If the next switching device in the series is also the last switchingdevice in the series, the action performed at block 156 has not added anundiscovered switching device. However, if the there is anotherswitching device in the series, the action performed at block 156, hasadded an undiscovered switching device. Control passes back to decisionblock 146.

If the action performed at block 156 has added an undiscovered switchingdevice, decision block 146 will find the new switching device and theYES branch will be taken to block 148. Blocks 148, 150, 152, 154, 156,and 146 will continue to be executed until reaching the last switchingdevice in the series of switching devices, at which point, the NO branchis taken from decision block 146 to block 158.

Block 158 records the final switching device discovered as the lastswitching device in the series of switching devices, and passes controlto block 160.

Block 160 pauses for a period of time (e.g., one minute), and thenpasses control to block 144, thereby initiating the discovery processagain. By periodically executing the discovery process, the presentinvention provides “plug and play” functionality, whereby switchingdevices and PIAs can be added and removed from a row of racks withoutthe need to further configuration.

Since embodiments of the present invention discover switching devices,and thereby racks, in sequence, physical location can also be correlatedto the position of the switching device in the series. Accordingly, anetwork technician need only associate the base station with a physicallocation, and the physical locations of the remaining racks in a row areinferred from the series of switching devices.

Once all switching devices, PIAs, and sensors have been discovered, basestation 32 of FIG. 1 reads all sensors at a polling interval (e.g.,every 10 seconds), and relays the sensor readings to DCEC 14, which inturn controls CRAC units 16 and 18. With reference to FIG. 6, each ofthe PIAs are accessed by progressing through the series of switchingdevices by alternately coupling the 1-Wire bus to the PIAs attached tothe switching device, reading the PIA sensors, and then coupling the1-Wire bus to the next switching device in the series.

In contrast, after discovery, a series of switching devices 106 (shownin FIG. 5) can be signaled to couple the 1-Wire bus to both thedownstream ports and the PIAs, thereby allowing any PIA sensor in therow of rack to be read without having to send additional signals toswitch SPST switches 110 and 112.

FIG. 9 shows another embodiment 162 of the present invention. In FIGS. 1and 6, a single base station is shown for each row, with each rack inthe row serviced by a switching device, and all the switching devicesconnected in a series.

In FIG. 9, two series of switching devices are deployed. Accordingly,the first series is connected to base station 164, and includesswitching device 166 (which is coupled to the PIAs of rack 168),switching device 170 (which is coupled to the PIAs of rack 172), andswitching device 174 (which is coupled to the PIAs of rack 176).Similarly, the second series is connected to base station 178, andincludes switching device 180 (which is coupled to the PIAs of rack182), switching device 184 (which is coupled to the PIAs of rack 186),and switching device 188 (which is coupled to the PIAs of rack 190).

By using two series of switching devices and interleaving the racksserviced by each base station, the DCEC still receives sensor readingsfrom every other rack in the row if a base station fails, or if any ofthe connections in a series of switching devices are disrupted. Forexample, a technician may need to remove a rack for servicing. Byproviding sensor readings from every other rack in the event of adisruption, the DCEC still has observations, albeit with lessresolution, of the environmental conditions associated with the row ofracks.

As stated above, embodiments of the present invention provideconsiderable cost savings compared to prior DSC configurations.Switching devices in accordance with the present invention aresignificantly less expensive than base stations, and deploying switchingdevices significantly reduces Ethernet cabling.

Furthermore, embodiments of the present invention simplify theassociation of racks with physical locations. In prior DSCconfigurations, the base station of each rack had to be associated witha physical location by a manual process. Using embodiments of thepresent invention, only the first rack of a row need be associated witha physical location. The physical location of the remaining racks in therow can be automatically inferred from the location of the first rackand the series number of each switching device in the series ofswitching devices. In essence, embodiments of the present inventionchange the manual physical location correlation process from being rackbased to being row based.

In the foregoing description, numerous details are set forth to providean understanding of the present invention. However, it will beunderstood by those skilled in the art that the present invention may bepracticed without these details. While the invention has been disclosedwith respect to a limited number of embodiments, those skilled in theart will appreciate numerous modifications and variations therefrom. Itis intended that the appended claims cover such modifications andvariations as fall within the true spirit and scope of the invention.

What is claimed is:
 1. A sensor network comprising: a first plurality ofsensors (22, 26); a first base station (32); and a first series ofswitching devices (34, 36, 38, 40, 42, 44), each switching devicecomprising: an upstream port (96, 114); a bus coupled to the upstreamport; a downstream port (98, 116); a sensor port connectable to the bus(100, 102, 118, 120); a first switch (94, 110) coupled to the bus andthe downstream port; and a switch controller (92, 108) coupled to thebus and the first switch (94, 110), the switch controller (92, 108)responsive to signals received from the upstream port (96, 114) toselectively connect the bus to the downstream port (98, 116) anddisconnect the bus from the downstream port (98, 116); wherein the firstseries of switching devices (34, 36, 38, 40, 42, 44) includes a firstswitching device (34) and a last switching device (44), the upstreamport (96, 114) of the first switching device (34) is coupled to thefirst base station (32), the downstream port (98, 116) of each switchingdevice, except the last switching device (44), is coupled to theupstream port (96, 114) of a next switching device in the first seriesof switching devices (34, 36, 38, 40, 42, 44), and sensors of the firstplurality of sensors (22, 26) are connected to sensor ports (100, 102,118, 120) of the switching devices in the first series of switchingdevices (34, 36, 38, 40, 42, 44).
 2. The sensor network according toclaim 1, wherein the first switch (94) of at least one switching device90 of the series of switching devices (34, 36, 38, 40, 42, 44) comprisesan SPDT switch (94), and the sensor port (100, 102) is coupled to theSPDT switch (94), wherein the SPDT switch (94) has a first state thatconnects the bus to the downstream port (98), and a second state thatconnects the bus to the sensor port (100, 102).
 3. The sensor networkaccording to claim 1, wherein at least one switching device (106) of theseries of switching devices (34, 36, 38, 40, 42, 44) further comprises:a second switch (112) coupled to the switch controller (108), the bus,and the sensor port (118, 120), with the switch controller (108)responsive to signals received from the upstream port (114) toselectively connect the bus to the sensor port (118, 120) and disconnectthe bus from the sensor port (118, 120).
 4. The sensor network accordingto any of claim 1, 2, or 3, wherein at least one switching device of theseries of switching devices (34, 36, 38, 40, 42, 44) further comprises:an integrated sensor (122) coupled to the bus; and memory (124) readablefrom the upstream port (114) and storing data characterizing theintegrated sensor (122).
 5. The sensor network according to any of claim1, 2, 3, or 4 and further comprising: a second plurality of sensors; asecond base station (178); and a second series of switching devices(180, 184, 188); wherein the second series of switching devices (180,184, 188) includes a first switching device (180) and a last switchingdevice (188), the upstream port (96, 114) of the first switching device(180) is coupled to the base station (178), the downstream port (98,116) of each switching device, except the last switching device (188),is coupled to the upstream port (96, 114) of a next switching device inthe series of switching devices (180, 184, 188), and sensors of thesecond plurality of sensors are connected to sensor ports (100, 102,118, 120) of the switching devices in the second series of switchingdevices (180, 184, 188), and wherein each switching device of the firstseries of switching devices is associated with a rack of a first set ofracks (168, 172, 176), and each switching device of the second series ofswitching devices is associated with a rack of a second set of racks(182, 186, 190), and racks of the first set of racks are interleavedwith racks of the second set of racks.
 6. A method of discoveringswitching devices in a series of switching devices, and sensors attachedto the switching devices, wherein each switching device has an upstreamport and a downstream port, the series of switching devices is formed bycoupling the downstream port of each switching device, except a lastswitching device in the series of switching devices, to the upstreamport of a next switching device in the series of switching devices, themethod comprising: signaling (144) the switching devices to disconnect abus from the downstream port; determining (146) whether a previouslyundiscovered switching device is present; if a previously undiscoveredswitching device is present: reading and recording (152) data associatedwith sensors coupled to the previously undiscovered switching device;signaling (156) the previously undiscovered switching device to connecta bus to a downstream port; and branching to determining (146) whether apreviously undiscovered switching device is present; and if a previouslyundiscovered switch is not present: recording (158) a last undiscoveredswitching device as a last switching device in the series of switchingdevices.
 7. The method according to claim 6 and further comprising;before reading and recording (152) data associated with sensors coupledto the previously undiscovered switching device, signaling (150) thepreviously undiscovered switching device to connect the bus to sensorscoupled to the previously undiscovered switching device; and afterreading and recording (152) data associated with sensors coupled to thepreviously undiscovered switching device, signaling (154) the previouslyundiscovered switching device to disconnect the bus from sensors coupledto the previously undiscovered switching device.
 8. The method accordingto any of claim 6 or 7 and further comprising: after recording (158) alast undiscovered switching device as a last switching device in theseries of switching devices: pausing (160) for a period of time; andbranching (160) to signaling (144) the switching devices to disconnect abus from a downstream port.
 9. The method according to any of claim 6,7, or 8, wherein signaling (144) the switching devices to disconnect abus from a downstream port comprises: issuing first commands (147) tothe switching devices to cause each switching device that receives thefirst commands connect the bus to the downstream port; determining (149,151) whether a previously undiscovered switching device is present; if apreviously undiscovered switching device is present, branching toissuing first commands (147) to the switching devices to cause eachswitching device that receives the first commands connect the bus to thedownstream; and if a previously undiscovered switching device is notpresent: issuing second commands (153) to the switching devices to causeeach switching device to disconnect the bus from the downstream port.10. The method according to any of claim 6, 7, or 8, wherein signaling(144) the switching devices to disconnect a bus from a downstream portcomprises: issuing N first commands (157, 159, 161) to the switchingdevices to cause each switching device that receives the first commandsconnect the bus to the downstream port, wherein N is equal to or greaterthan a maximum number of switching devices in the series of switchingdevices; and issuing second commands (163) to the switching devices tocause each switching device to disconnect the bus from the downstreamport.
 11. A manufacture comprising computer-readable storage media (70)encoded with a program set of computer-executable instructions, saidprogram set for causing a base station (32, 66) to discover switchingdevices in a series of switching devices, and sensors attached to theswitching devices, wherein each switching device has an upstream portand a downstream port, the series of switching devices is formed bycoupling the downstream port of each switching device, except a lastswitching device in the series of switching devices, to the upstreamport of a next switching device in the series of switching devices, theprogram set of the manufacture comprising: signaling (144) the switchingdevices to disconnect a bus from a downstream port; determining (146)whether a previously undiscovered switching device is present; if apreviously undiscovered switching device is present: reading andrecording at the base station (152) data associated with sensors coupledto the previously undiscovered switching device; signaling (156) thepreviously undiscovered switching device to connect a bus to adownstream port; and branching to determining (146) whether a previouslyundiscovered switching device is present; and if a previouslyundiscovered switch is not present: recording (158) at the base stationa last undiscovered switching device as a last switching device in theseries of switching devices.
 12. The manufacture according to claim 11and the program set further comprising: before reading and recording atthe base station (152) data associated with sensors coupled to thepreviously undiscovered switching device, signaling (150) the previouslyundiscovered switching device to connect the bus to sensors coupled tothe previously undiscovered switching device; and after reading andrecording at the base station (152) data associated with sensors coupledto the previously undiscovered switching device, signaling (154) thepreviously undiscovered switching device to disconnect the bus fromsensors coupled to the previously undiscovered switching device.
 13. Themanufacture according to any of claim 11 or 12 and the program setfurther comprising: after recording at the base station (158) a lastundiscovered switching device as a last switching device in the seriesof switching devices: pausing (160) for a period of time; and branching(160) to signaling (144) the switching devices to disconnect a bus froma downstream port.
 14. The manufacture according to any of claim 11, 12,or 13 and the program set further comprising: transmitting from the basestation (32) to a data center environment controller (14) datacharacterizing the sequence of switching devices and sensors read by thebase station (32).